<!DOCTYPE html>
<!-- saved from url=(0036)http://www.toutoupiao.com/Vote/16620 -->
<html lang="zh" class=" js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths no-touchevents csstransforms supports csstransforms3d opacity">
 <!--<![endif]-->
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <link href="http://www.toutoupiao.com/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>
    发起文字投票
</title>
  <link href="{{asset('/css/style.min.css')}}" rel="stylesheet" />
  <meta name="keywords" content="文字投票,免费投票,自助投票,在线投票,投票" />
  <meta name="description" content="" />
  <link href="{{asset('/css/lightbox.css')}}" rel="stylesheet" />
  <link href="{{asset('/css/notifIt.css')}}" rel="stylesheet" />
    <style>
     img{
      max-width:100%;
      max-height: 100%;
     }
   #div99{
            position:fixed;
            top:0;
            left:0;
            bottom:0;
            right:0;
            z-index:-1;
            }
            div#div99 > img {
            height:100%;
            width:100%;
            border:0;
            }
  </style>

 </head>
 <body class="right-sb">
 <div id="div99"><img src="../images/1.jpg"/></div>
  <div id="BAIDU_DUP_fp_wrapper" style="position: absolute; left: -1px; bottom: -1px; z-index: 0; width: 0px; height: 0px; overflow: hidden; visibility: hidden; display: none;">
   <iframe id="BAIDU_DUP_fp_iframe" src="/" style="width: 0px; height: 0px; visibility: hidden; display: none;"></iframe>
  </div>
  <div class="container">
   <!-- Start Header -->
   <header class="header-wrap clearfix">
    <div class="slicknav_menu">
     <a href="#" aria-haspopup="true" tabindex="0" class="slicknav_btn slicknav_collapsed" style="outline: none;"><span class="slicknav_menutxt">MENU</span><span class="slicknav_icon"><span class="slicknav_icon-bar"></span><span class="slicknav_icon-bar"></span><span class="slicknav_icon-bar"></span></span></a>
     <nav class="slicknav_nav slicknav_hidden" aria-hidden="true" role="menu" style="display: none;">
      <div class="menu-navigation-container">
       <ul class="menu">
        <li class="slicknav_collapsed slicknav_parent"><a href="{{url('/not')}}" role="menuitem" aria-haspopup="true" tabindex="-1" class="slicknav_item" style="outline: none;"></a><a class="username" href="{{url('/not')}}" title="管理">梦魔</a> <span class="slicknav_arrow"></span>
         <ul class="sub-menu slicknav_hidden" role="menu" aria-hidden="true" style="display: none;">
          <li><a href="{{url('/createTextVote')}}" role="menuitem" tabindex="-1">文字投票</a></li>
          <li><a href="{{url('/createImgVote')}}" role="menuitem" tabindex="-1">图片投票</a></li>
          <li><a href="{{url('/prev')}}" role="menuitem" tabindex="-1">我的菜单</a></li>
          <li>
           <form action="{{url('/not')}}" method="post">
            <input name="__RequestVerificationToken" type="hidden" value="J_rRCn8HCbICGIcF_UOBTfzrDP5irfH_QGNJMcDUxZ2GiRGEqzh1c24gQjOUuaco_46SVhrMA9E7xKPff4J0CNexbYxz6Hrme6T1UroFZTtyc4fg7dwgkTlmKIWziT7H0" />
            <a href="{{url('/not')}}">注销</a>
           </form> </li>
         </ul> </li>
        <li><a href="url('/not')" role="menuitem">帮助</a></li>
       </ul>
      </div>
     </nav>
    </div>
    <div class="logo" role="banner">
     <a href="/" title="投票网" rel="home">
      <div class="logo-text">
       <h1 class="logo-name" style="color:deeppink;line-height: 48px">必赢投票网</h1>
      </div> </a>
    </div>
    <nav class="main-nav clearfix"> 
     <div class="menu-navigation-container"> 
      <ul id="menu-navigation" class="menu">
       @if (Auth::check())
        <li>
         <a class="username" href="userinfo">{{ Auth::user()->name }}</a>
         <ul class="sub-menu">
          <li><a href="{{url('/createTextVote')}}">文字投票</a></li>
          <li><a href="{{url('/createImgVote')}}">文字投票</a></li>
          <li><a href="{{url('/prev')}}">我的菜单</a></li>
         </ul>
        </li>
        <li><a href="{{url('auth/logout')}}">退出</a></li>
       @else
        <li><a id="registerLink" href="{{url('auth/register')}}">注册</a></li>
        <li><a id="loginLink" href="{{url('auth/login')}}">登录</a></li>
       @endif
      </ul> 
     </div> 
    </nav> 
   </header> 
   <!-- End Header --> 
   <div class="ad-mobile ad-container-mb"> 
    <!-- 自适应horizontal --> 
    <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0818696064622523" data-ad-slot="5199778549" data-ad-format="horizontal" data-adsbygoogle-status="done"></ins> 
   
   </div> 
   <div class="content-section clearfix"> 
    <div id="main-content" class="content"> 
     <article class="content-background clearfix"> 
      <header class="entry-header"> 
       <div class="clearfix"> 
        <div class="entry-avatar"> 
          <a href="{{url('/not')}}"><img src="{{asset('/images/nohead.jpg')}}" class="attachment-small-thumb wp-post-image" alt="头像" /></a>
        </div> 
        <h3 class="entry-title">{{$data['title']}}</h3>
       </div> 
       <p class="entry-meta">
        <b>上传时间:</b><span class="updated">{{date('Y年m月d日',$data['pub_time'])}}</span>

        <b>参与人数:</b><span class="entry-category">{{$data['person']}}</span>


         <b>发布者:</b><span>{{ $data['name'] }}</span>

       </p>
      </header> 
      <div class="entry-header search-mobile">title
       <a href="{{url('/not')}}"><i class="fa fa-search"></i> 搜索选项</a>
      </div>

      <div class="entry-content entry-header clearfix">
       <div class="entry-excerpt">
        <p>{{$data['desc']}}</p>
       </div>
      </div>
      <div id="send_vote" class="content-margin"> 
       <form action="/vote"
             class="sendform"
             data-ajax="true"
             data-ajax-complete="votecomplete"
             data-ajax-loading="#voteloader"
             data-ajax-method="post"
             data-ajax-mode="replace"
             data-ajax-success="votesuccess(data)"
             data-ajax-update="#send_vote"
             id="form0"
             method="post"
             name="16620">

        {!! csrf_field() !!}
        <input name="__RequestVerificationToken" type="hidden" value="" />
        <ul class="polls-ul">

         @if($data['is_pic'] == 0)

          @if($data['type'] == 1)
           @foreach($data['selects'] as $a)

            <li>
             <label> {{$a['link']}}&nbsp;&nbsp;&nbsp;{{$a['num']}}票&nbsp;&nbsp;占比{{$a['percent']}}% </label> </li>


           @endforeach
          @elseif($data['type'] == 2)
           @foreach($data['selects'] as $a)

            <li> 
             <label> {{$a['link']}}&nbsp;&nbsp;&nbsp;{{$a['num']}}票&nbsp;&nbsp;占比{{$a['percent']}}% </label> </li>


           @endforeach
          @endif

         @elseif($data['is_pic'] == 1)

          @if($data['type'] == 1)
           @foreach($data['selects'] as $a)

            <li>

             <div class="pic-wrapper" style="width:500px;height:200px;">
              <span style="display:block;">{{$a['link']}}&nbsp;&nbsp;&nbsp;{{$a['num']}}票&nbsp;&nbsp;占比{{$a['percent']}}%</span>
              <a href="#" class="lightbox image_gallery fs-lightbox-element" data-lightbox-gallery="image_gallery" title="{{$a['link']}}">
               <img class="pic" src="{{asset($a['pic'])}}"></a>
             </div>
             <div class="pic-info" style="height: 100px">
             </div>
            </li>

           @endforeach
          @elseif($data['type'] == 2)
           @foreach($data['selects'] as $a)

            <li>
             <div class="pic-wrapper" style="width:500px;height:200px;">
              <span style="display:block;color:darkkhaki">{{$a['link']}}&nbsp;&nbsp;&nbsp;{{$a['num']}}票&nbsp;&nbsp;占比{{$a['percent']}}%</span>
              <a href="#" class="lightbox image_gallery fs-lightbox-element" data-lightbox-gallery="image_gallery" title="{{$a['link']}}">
               <img class="pic" src="{{asset($a['pic'])}}" /></a>
             </div>
             <div class="pic-info" style="height: 50px">
             </div>
            </li>

           @endforeach
          @endif

         @endif

        </ul> 

       </form> 
      </div> 

     </article>


     <div class="ad-mobile ad-container-mtb"> 
     
      <!-- 自适应广告 --> 
      <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0818696064622523" data-ad-slot="7916022947" data-ad-format="auto" data-adsbygoogle-status="done"></ins> 
  
     </div> 

    


     <div class="ad-pad ad-container-mb">



    </aside>
   </div> 

   <a href="{{url('/not')}}" class="back-to-top"><i class="fa fa-chevron-up"></i></a>
  </div> 
 
 </body>
</html>